package com.fhz.shop.ui.mine.datasource;

import androidx.lifecycle.LiveData;

import com.fhz.shop.api.ServiceApi;
import com.fhz.shop.callback.ApiResponse;
import com.fhz.shop.entity.GoodsInfoLocal;
import com.fhz.shop.entity.PageHelper;

import javax.inject.Inject;

import retrofit2.http.Field;

/**
 * 时间:2023/8/22
 *
 * @author Mr.Feng
 * 简述: TODO
 */
public class MineRemoteDataSource {

    @Inject
    ServiceApi mServiceApi;

    @Inject
    public MineRemoteDataSource() {
    }

    public  LiveData<ApiResponse<String>> getQiNiuToken(){
        return mServiceApi.getQiNiuToken();
    }

   public LiveData<ApiResponse<String>> updateHeadImage( String nickname,  String headImg){
        return mServiceApi.updateHeadImage(nickname, headImg);
   }

}
